<?php

// define('LINK_ROOT', 'http://'. $_SERVER['HTTP_HOST']);
// define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
define('LINK_ROOT', 'http://' . $_SERVER['HTTP_HOST'] . '/09_movie');
define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT'] . '/09_movie');

define('DIR_ADMIN', '/admin/');
define('DIR_ADMIN_INCLUDE', '/admin/include/');

define('DIR_INCLUDE', '/include/');
define('DIR_AJAX', '/ajax/');
define('DIR_SKRILL_PAYMENT', '/skrill_payment/');

define('DIR_SHARED_LAYOUT', '/shared/layout/');
define('DIR_SHARED_LAYOUT_CSS', '/shared/layout/css/');
define('DIR_SHARED_LAYOUT_JS', '/shared/layout/js/');
define('DIR_SHARED_LAYOUT_IMAGES', '/shared/layout/images/');
define('DIR_SHARED_LAYOUT_IMAGES_TICKET', '/shared/layout/images/ticket/');
define('DIR_SHARED_LAYOUT_IMAGES_ICONS', '/shared/layout/images/icons/');
define('DIR_SHARED_LAYOUT_IMAGES_SLIDESHOW', '/shared/layout/images/slideshow/');
define('DIR_SHARED_LAYOUT_SEMANTIC', '/shared/layout/semantic/');
define('DIR_SHARED_LAYOUT_SEMANTIC_CSS', '/shared/layout/semantic/css/');
define('DIR_SHARED_LAYOUT_SEMANTIC_JS', '/shared/layout/semantic/javascript/');

define('DIR_SHARED_LAYOUT_BOOTSTRAP', '/shared/layout/bootstrap/');
define('DIR_SHARED_LAYOUT_BOOTSTRAP_CSS', '/shared/layout/bootstrap/css/');
define('DIR_SHARED_LAYOUT_BOOTSTRAP_JS', '/shared/layout/bootstrap/js/');
define('DIR_SHARED_LAYOUT_UIKIT', '/shared/layout/uikit/');
define('DIR_SHARED_LAYOUT_UIKIT_CSS', '/shared/layout/uikit/css/');
define('DIR_SHARED_LAYOUT_UIKIT_JS', '/shared/layout/uikit/js/');

define('DIR_SHARED_PLUGIN_WOWSLIDER', '/shared/plugin/wowslider/');
define('DIR_SHARED_PLUGIN_WOWSLIDER_CSS', '/shared/plugin/wowslider/css/');
define('DIR_SHARED_PLUGIN_WOWSLIDER_JS', '/shared/plugin/wowslider/js/');

define('DIR_SHARED_PLUGIN_DATETIMEPICKERMASTER', '/shared/plugin/datetimepicker-master/');

define('DIR_SHARED', '/shared/');
define('DIR_SHARED_CONFIG', '/shared/config/');
define('DIR_SHARED_API', '/shared/api/');
define('DIR_SHARED_DAO', '/shared/dao/');
define('DIR_SHARED_LIBRARIES', '/shared/libraries/');
define('DIR_SHARED_PLUGIN', '/shared/plugin/');
define('DIR_SHARED_UPLOAD', '/shared/upload/');
define('DIR_SHARED_UPLOAD_DOCUMENTS', '/shared/upload/documents/');
define('DIR_SHARED_UPLOAD_IMAGES', '/shared/upload/images/');
define('DIR_SHARED_UPLOAD_IMAGES_POSTERS', '/shared/upload/images/posters/');
define('DIR_SHARED_UPLOAD_IMAGES_CINEMAS', '/shared/upload/images/cinemas/');
define('DIR_SHARED_UPLOAD_IMAGES_COMBOS', '/shared/upload/images/combos/');

class config {

    private $db_name = '09_movie';
    private $db_host = 'localhost';
    private $db_user = 'root';
    private $db_pass = '';

    public function get_db_name() {
        return $this->db_name;
    }

    public function get_db_host() {
        return $this->db_host;
    }

    public function get_db_user() {
        return $this->db_user;
    }

    public function get_db_pass() {
        return $this->db_pass;
    }

}
